/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package application.service;

import application.dao.DistanceCalcDao;
import application.model.DistanceCalcSettings;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author aa6345
 */
@Service("DistanceCalcSettingsService")
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public class DistanceCalcSettingsServiceImpl implements DistanceCalcSettingsService{

    @Autowired
    private DistanceCalcDao distanceCalcDao;

    public List<DistanceCalcSettings> getAllDistanceCalcSettings() {
        return distanceCalcDao.getAllDistanceCalcSettings();
    }
}